package usermanager.dao.hibernate;

import java.util.List;

import usermanager.dao.UserDao;
import usermanager.model.User;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class UserDaoHibernateImpl extends HibernateDaoSupport implements UserDao {
	
	@SuppressWarnings("unchecked")
	public List<User> findAll() {
		return (List<User>)getHibernateTemplate().find("from Stock");
	}

}
